WooCommerce\Square\Framework\PaymentGateway\Handlers\Capture S

Total Complexity 50
Dependencies 9
Dependents 1
Total lines 416
Lines of code 159
Logical lines of code 88
Comment lines 161
Methods 14
Properties 1

Methods 14

Method Rating Maintainability Complexity Lines of code
perform_capture()
B
35 16 84
maybe_capture_paid_order()
S
58 5 15
do_capture_success()
S
64 6 8
order_can_be_captured()
S
65 4 9
is_order_fully_captured()
S
66 4 7
__construct()
S
69 3 6
maybe_perform_capture()
S
68 2 7
is_order_ready_for_capture()
S
76 2 3
has_order_authorization_expired()
S
70 2 5
get_order_authorization_amount()
S
72 2 5
do_capture_failed()
S
98 1 1
is_order_captured()
S
77 1 3
get_order_capture_maximum()
S
80 1 3
get_gateway()
S
82 1 3